package io.renren.modules.store.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-01-25 21:22:21
 */
@Data
@TableName("t_store_discount_detail")
public class TStoreDiscountDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 折扣细则ID
	 */
	@TableId
	private Long id;
	/**
	 * 折扣方案ID
	 */
	private Long discountId;
	/**
	 * 菜品ID
	 */
	private Long foodId;
	/**
	 * 折扣
	 */
	private Double discount;

	private Long sellerId;

	private String uniqueKey;

	@TableField(exist = false)
	private List<Long> foodList;

	@TableField(exist = false)
	private String foodName;


}
